//
//  CLSettingCell.h
//  togetherLBS
//
//  Created by louis on 15/9/12.
//  Copyright (c) 2015年 celi. All rights reserved.
//

#import <UIKit/UIKit.h>

@class CLSettingItem, CLSettingCell;

@protocol CLSettingCellDelegate <NSObject>
@optional
- (void)settingCell:(CLSettingCell *)cell didChangeSwitchState:(BOOL)state;
- (void)settingCellDidClickButton:(CLSettingCell *)cell;
@end

@interface CLSettingCell : UITableViewCell
@property (nonatomic, strong) CLSettingItem *item;
@property (nonatomic, assign) id<CLSettingCellDelegate> delegate;

+ (instancetype)cellWithTableView:(UITableView *)tableView;
@end
